Notification_Master\DB\Models\Subscription_Model S

Total Complexity 40
Dependencies 2
Dependents 4
Total lines 560
Lines of code 237
Logical lines of code 111
Comment lines 261
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
record_failure()
S
47 5 35
prepare_data()
S
49 4 30
get_subscriptions_by_user_ids()
S
54 4 19
get_ip_address()
S
63 4 11
get_rows()
S
61 2 11
get_count_by_date()
S
63 2 10
record_success()
S
59 1 15
cleanup_old_failed_subscriptions()
S
60 1 13
update_status()
S
61 1 12
get()
S
71 1 5
get_by_endpoint()
S
71 1 5
get_all()
S
72 1 5
insert()
S
69 1 6
delete()
S
75 1 4
delete_by_ids()
S
70 1 5
delete_by_date()
S
74 1 4
get_count()
S
75 1 4
get_count_by_status()
S
74 1 4
get_count_by_browser()
S
74 1 4
get_count_for_other_browsers()
S
75 1 4
get_count_by_device()
S
74 1 4
update()
S
71 1 5
get_user_agent()
S
80 1 3
delete_by_endpoint()
S
65 1 9
get_high_failure_subscriptions()
S
65 1 10